import { request } from '@/utils/request.ts'

// 登录
// export const login = (
//   client_id: string,
//   client_secret: string,
//   grant_type: string,
//   password: string,
//   username: string
// ) => request('/token', 'post', {
//   client_id,
//   client_secret,
//   grant_type,
//   password,
//   username,
// })
export const loginApi = (data: any) => request('/token', 'post', data)

// 测试
export const cs = () => request('/product/selectProductInfoById', 'get')

// 注册
export const region = (data:any) => request('/order/register', 'post', data)
